| File: IHubCallerClients`T.cs | Web Access |
| Project: src\aspnetcore\src\SignalR\server\Core\src\Microsoft.AspNetCore.SignalR.Core.csproj (Microsoft.AspNetCore.SignalR.Core) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.SignalR; /// <summary> /// An abstraction that provides access to client connections, including the one that sent the current invocation. /// </summary> /// <typeparam name="T">The client caller type.</typeparam> public interface IHubCallerClients<T> : IHubClients<T> { /// <summary> /// Gets a caller to the connection which triggered the current invocation. /// </summary> T Caller { get; } /// <summary> /// Gets a caller to all connections except the one which triggered the current invocation. /// </summary> T Others { get; } /// <summary> /// Gets a caller to all connections in the specified group, except the one which triggered the current invocation. /// </summary> /// <returns>A client caller.</returns> T OthersInGroup(string groupName); }